package swu.user;

import swu.commodity.Commodity;

import java.util.ArrayList;
import java.util.List;

public class User
{
    private String name;
    private String password;

    public User(){}

    public User(String name, String password)
    {
        this.setName(name);
        this.setPassword(password);
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }
}
